package com.pipayshop;

import com.pipayshop.entity.OSSProperties;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.pipayshop.mapper")
@Slf4j
@EnableCaching
@EnableConfigurationProperties
@EnableScheduling
public class PipayshopApplication {

    public static void main(String[] args) {
        log.info("pipayshop 启动中......");
        SpringApplication.run(PipayshopApplication.class, args);
        System.err.println("           _                        __\n" +
                "    ____  (_)___  ____ ___  _______/ /_  ____  ____\n" +
                "   / __ \\/ / __ \\/ __ `/ / / / ___/ __ \\/ __ \\/ __ \\\n" +
                "  / /_/ / / /_/ / /_/ / /_/ (__  ) / / / /_/ / /_/ /\n" +
                " / .___/_/ .___/\\__,_/\\__, /____/_/ /_/\\____/ .___/\n" +
                "/_/     /_/          /____/                /_/\n");
        log.info("pipayshop 启动成功");
    }

}
